package red.stu.pconstraint.test;

import red.stu.pconstraint.ProcessUnit;
import red.stu.pconstraint.annotation.ProcessBranch;
import red.stu.pconstraint.annotation.ProcessNode;
import red.stu.pconstraint.annotation.ProcessTimerNode;

/**
 * demo
 *
 * @author yihrmc@stu.red
 * @date 2019/11/13 16:40
 */
@ProcessBranch
public class WarrantyProcessImpl {

    @ProcessNode("p1")
    public void init(ProcessUnit processUnit) {
        processUnit.next();
    }

    @ProcessNode
    public void p2() {

    }

    @ProcessTimerNode
    public void p3() {

    }

}
